package com.qimei.onerice.service;

import com.qimei.onerice.entity.Admin;

import java.util.List;

public interface AdminService {
	Admin adminLogin(String username, String password);
	Admin getAdminById(int adminId);
	List<Admin> getAdminList();
	boolean deleteAdmin(int adminId);
	boolean updateAdmin(Admin admin);
	boolean addAdmin(Admin admin);
	boolean isAdminExists(String username, String contact, String email);
}
